From: Glenn Morris Date: Sat, 28 Apr 2007 20:39:11 +0000 (+0000) Subject: Stefan Monnier X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~534^2~5^2~250 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=21f52f9216d330081385083af0eee3e82fb93c50;p=emacs.git Stefan Monnier (c-before-change): Use point-min rather than 1. --- diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index c3c17a6f3c5..390d49eaea4 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -522,7 +522,7 @@ preferably use the `c-mode-menu' language constant directly." (setq lim (max (point-min) (1- (point)))) ;; Look for the latest `c-type' property before end1 - (when (and (> end1 1) + (when (and (> end1 (point-min)) (setq type-pos (if (get-text-property (1- end1) 'c-type) end1